package com.jf.blog_jf04.data.ov;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("分类添加和修改")
public class CategoryUpdateOV {
    @ApiModelProperty("分类编号，有值修改，为空添加")
    private Integer categoryId;
    @ApiModelProperty(value = "分类名称", required = true)
    private String name;
    @ApiModelProperty("分类介绍")
    private String profile;
    @ApiModelProperty(value = "分类状态", required = true, allowableValues = "1,2")
    private Integer status;
}
